const router = require('koa-router')()
const jobController     = require('../controllers/jobController')
console.log(jobController)

router.prefix("/job")

router.get('/', async ctx => {
    ctx.body = 'query'
})

router.post('/', async ctx => {
    ctx.body = 'create'
})

router.get('/:id', async ctx => {
    ctx.body = 'read'
})

router.put('/:id', async ctx => {
    ctx.body = 'update'
})

router.delete('/:id', async ctx => {
    ctx.body = 'delete'
})

module.exports = router